<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<%
 String path = request.getContextPath();
 String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!doctype html>
<html>
<head>
	<%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
	<%@ include file="/WEB-INF/views-jsp/include/meta/meta.jsp" %>
	<%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
	<%@ include file="/WEB-INF/views-jsp/include/script/script.jsp" %>
	<script type="text/javascript" src="${path}/html/js/jquery.form.js"></script>
	<script type="text/javascript" src="${path}/html/js/js-jsp/al/alarmSign/alarmResolve.js?v=<%out.print(Math.random());%>"></script>
</head>
	<body>
	<div class="place">
		<span>当前位置：</span>
		<ul class="placeul">
			<li><a id="alarmSign" href="${path}/alarmSign/index.do">警示信息</a></li>
			<li><a>警报处理</a></li>
		</ul>
	</div>
		<form id="operate_form" class="form" method="post" action="#">
			<input type="hidden" name="alId" value="${alarmSign.alId}"/>
			<div class="formbody">
				<div class="formtitle"><span>警报信息</span></div>
				<ul class="forminfo">
					<li>
						<label>项目名称：</label>
						<label style="width:300px;text-align:left;text-indent:0.5em">${alarmSign.project.prName}</label>
					</li>
					<li>
						<label>设备编号：</label>
						<label style="width:300px;text-align:left;text-indent:0.5em">${alarmSign.deviceId}</label>
					</li>
					<li>
						<label>设备名称：</label>
						<label style="width:300px;text-align:left;text-indent:0.5em">${alarmSign.deviceName}</label>
					</li>
					<li>
						<label>超标数值：</label>
						<label style="width:300px;text-align:left;text-indent:0.5em">${alarmSign.alarmData} ${alarmSign.measureUnit}</label>
					</li>
					<li>
						<label>报警时间：</label>
						<label style="width:300px;text-align:left;text-indent:0.5em"><fmt:formatDate value="${alarmSign.alarmTime}" pattern="yyyy-MM-dd HH:mm:ss"/></label>
					</li>
					<li>
						<label>报警内容：</label>
						<label style="width:300px;text-align:left;text-indent:0.5em">${alarmSign.alarmContent}</label>
					</li>
					<li>
						<label>处理人：</label>
						<input class="easyui-textbox" type="text" name="resolveUser" id="resolveUser" data-options="required:true,validType:['length[1,10]','name'],prompt:'请输入处理人'" missingMessage="处理人不能为空"  value="${alarmSign.resolveUser}" style="width:255px; height: 32px">
					</li>
					<li>
						<label>处理时间：</label>
						<input class="easyui-datetimebox" name="resolveTime" id="resolveTime" data-options="prompt:'请选择处理时间',editable:false" value="<fmt:formatDate value="${alarmSign.resolveTime}" pattern="yyyy-MM-dd HH:mm:ss"/>" style="width:255px; height: 32px"  />
					</li>
					<li>
						<label>处理方式：</label>
						<input class="easyui-textbox" name="resolveContent" id="resolveContent" data-options="multiline:true,required:true,prompt:'请输入处理方式',validType:'length[1,200]'" missingMessage="处理方式不能为空" value="${alarmSign.resolveContent}" style="width:255px;height:100px">
					</li>
				</ul>
			</div>
		</form>
		<div class="formbody" style="margin-left: 110px">
			<a id="optionAlarmSign" class="easyui-linkbutton c1" style="width:120px; height: 35px">保存</a>
			&nbsp;&nbsp;&nbsp;
			<a href="${path}/alarmSign/index.do?id=${id}" class="easyui-linkbutton c1" style="width:120px; height: 35px">取消</a>
		</div>
	</body>
</html>